/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.mzk.kramerius.fedoraaccess.cli;

import cz.mzk.kramerius.commons.CommandLineOptions;
import java.util.ArrayList;
import java.util.List;
import org.apache.commons.cli.Option;

/**
 *
 * @author Martin Řehánek <rehan at mzk.cz>
 */
public class DefinedOptions implements CommandLineOptions {

    public final Option ACTION = new Option("a", "action", true, "Action to be performed");
    public final Option PROPERTIES_FILE = new Option("p", "properties", true, "Propeties file");
    public final Option OBJECTS_FILE = new Option("o", "objects", true, "File containing object pid on each line");

    {
        ACTION.setRequired(true);
        PROPERTIES_FILE.setRequired(true);

    }

    @Override
    public List<Option> getAllOptions() {
        List<Option> result = new ArrayList<Option>();
        result.add(ACTION);
        result.add(PROPERTIES_FILE);
        result.add(OBJECTS_FILE);
        return result;
    }
}
